home *** CD-ROM | disk | FTP | other *** search
- BACKGROUND 112
- LANGUAGE ENGLISH
- BORDER 2
- TELESCOPE ON
- SHADOW ON
-
- WINOPEN 0 2 31
- " SILICON CITY INSTALLATION PROGRAM "
- ""
- " SILICON CITY COPYRIGHT (C) 1993 BY LYRIC SOFTWARE COMPANY "
- " 25 WOODY LANE - NORTHPORT, NY 11768 "
- " ALL RIGHTS RESERVED "
-
- BORDER 1
- WINOPEN 0 12 111
-
- ""
- " Welcome to Silicon City "
- ""
- "This installation program will install Silicon City"
- " on your computer. Just follow the instructions "
- ""
- " You can exit the installation program at any time "
- " by pressing the Escape key "
- ""
- " To continue, press [Enter], now "
- ""
-
- WAIT +32 +10
- WINCLOSE
-
- SPACE 512
-
- DRIVE C 0 12 111 15 32 14 79
- PATH \SILCITY 0 12 111 15 32 14 79
-
- COPY ~0\*.* ~1~2\ 0 12 111
- JUMP.FAIL INSTALL_FAILURE
-
- WINOPEN 0 12 111
-
- ""
- " Silicon City has been installed "
- " successfully on your computer! "
- ""
- " Next, we will display the READ.ME "
- "file, which contains any late-breaking"
- " changes to the documentation. "
- ""
- " To continue, press [Enter], now "
- ""
- WAIT +25 +9
- WINCLOSE
-
- VIEW ~1~2\READ.ME 79 31
-
- :PRINT_READ.ME
- WINOPEN 0 12 111
- ""
- "Would you like to print the READ.ME file?"
- ""
- ""
-
- WINUPDATE +31 +3 110
- "(Y or N)"
-
- ASK +39 +3 ' one method of providing a "conditional" jump
-
- WINCLOSE ' close the above window
- JUMP.NO EXIT
-
- WINOPEN 0 0 31 ' printing large file takes a while ...
- ""
- " Printing... "
- ""
- PRINT ~1~2\READ.ME
- WINCLOSE ' close the above window
- JUMP.FAIL PRINTER_ERROR ' jump on fatal error
- JUMP EXIT ' print successful, skip next
-
- :PRINTER_ERROR ' label for error condition
- WINOPEN 0 12 79 ' open the following window
- "Your printer is not responding. Possible problems:"
- " -- Printer is not turned on"
- " -- Printer is out of paper"
- " -- Printer is not attached to LPT1 (parallel port 1)"
- ""
- "Do you want to try to print again (Y or N)?"
- ASK 57 18 ' prompt for Y or N key (fixed cursor position)
- WINCLOSE ' close this window
- JUMP.YES PRINT_READ.ME ' y key pressed, print
- :EXIT
-
- ' ----------------------
- ' DISPLAY ORDER FORM WIN
- ' ----------------------
- :PRINT_ORDER.FRM
- WINOPEN 0 12 111
- ""
- "Would you like to print the Order Form?"
- ""
- ""
-
- WINUPDATE +31 +3 110
- "(Y or N)"
-
- ASK +39 +3 ' one method of providing a "conditional" jump
-
- WINCLOSE ' close the above window
- JUMP.NO ORDER_EXIT
-
- WINOPEN 0 0 31 ' printing large file takes a while ...
- ""
- " Printing... "
- ""
- PRINT ~1~2\ORDER.FRM
- WINCLOSE ' close the above window
- JUMP.FAIL PRINTER_ERROR2 ' jump on fatal error
- JUMP ORDER_EXIT ' print successful, skip next
-
- :PRINTER_ERROR2 ' label for error condition
- WINOPEN 0 12 79 ' open the following window
- "Your printer is not responding. Possible problems:"
- " -- Printer is not turned on"
- " -- Printer is out of paper"
- " -- Printer is not attached to LPT1 (parallel port 1)"
- ""
- "Do you want to try to print again (Y or N)?"
- ASK 57 18 ' prompt for Y or N key (fixed cursor position)
- WINCLOSE ' close this window
- JUMP.YES PRINT_ORDER.FRM ' y key pressed, print
- :ORDER_EXIT
-
- ' ----------------------
- ' display closing window
- ' ----------------------
- WINOPEN 0 12 111
-
- ""
- " Thanks for buying our game. We're sure you'll have lots of "
- "fun with it. Be sure to fill out your registration and comment card."
- ""
- " Registering will ensure you receive notice of any updates,"
- " and information about new games that you might enjoy."
- ""
- "We're also very interested in your comments. Let us know what you think"
- " about this game. We value all your suggestions."
- ""
- " To complete the installation program, press [Enter]."
- ""
- WAIT +63 +11
-
-
- ' ------------------------
- ' exit the system normally
- ' ------------------------
- END
-
- ' ---------------------------------------------------
- ' Installation Failure. It is a good idea to add a
- ' similar routine to the bottom of all script files.
- ' ---------------------------------------------------
- :INSTALL_FAILURE
-
- WINOPEN 0 12 79
- "THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
- ""
- "Possible reasons:"
- " -- The floppy disk was removed prior to completion."
- " -- The floppy disk was damaged during shipping."
- " -- Your disk drive is out of alignment."
- ""
- "Press [Enter] to remove incomplete program files."
- WAIT 62 20
-
- ' delete all partial files using internal variables
- ' ~1 = the drive the user installed to (C: was the default)
- ' ~2 = the path the user installed to (\SAMPLE was the default)
- DELETE ~1~2\*.* 0 0 31
-
- ' now remove the directory
- RD ~1~2
- WINCLOSE
- WINOPEN 0 12 31
- "Partially Installed Files are Now Deleted."
- ""
- " Press [Enter] to Quit."
- WAIT 111 15
-